package com.lego.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Goods {
	private int goodsId;//商品Id
	private int sellerId;//商家Id
	private String goodsName;//商品名
	private int quantity;//货物数量
	private double price;//价格
	private String description;//描述
	private String goodsType;//商品类型
	private String goodsImg;//商品图片
	private Date publishTime;//上架时间
	private int goodsStatus;
	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}
	public int getSellerId() {
		return sellerId;
	}
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getGoodsType() {
		return goodsType;
	}
	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}
	public String getGoodsImg() {
		return goodsImg;
	}
	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public int getGoodsStatus() {
		return goodsStatus;
	}
	public void setGoodsStatus(int goodsStatus) {
		this.goodsStatus = goodsStatus;
	}
	@Override
	public String toString() {
		return "Goods [goodsId=" + goodsId + ", sellerId=" + sellerId + ", goodsName=" + goodsName + ", quantity="
				+ quantity + ", price=" + price + ", description=" + description + ", goodsType=" + goodsType
				+ ", goodsImg=" + goodsImg + ", publishTime=" + publishTime + ", goodsStatus=" + goodsStatus + "]";
	}
	
	
}
